﻿#$location = Get-Location
$location = $PSCommandPath | Split-Path -Parent


# PortalBasic
Set-Location -Path $location
dotnet publish -c Release --self-contained -r win7-x64 --force -o $location\..\..\..\..\OSMonitor\bin

Copy-Item $location\install.bat $location\..\..\..\..\OSMonitor
Copy-Item $location\unstall.bat $location\..\..\..\..\OSMonitor